package com.jdrx.sw.sewage.dao;

import com.jdrx.sw.sewage.beans.entity.MaterielPO;
import com.jdrx.sw.sewage.beans.vo.MaterielVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 物料DAO（sewage_materiel）
 * Created by generator on 2020-10-12.
 */
@Mapper
public interface MaterielDAO {
    int insert(MaterielPO record);

    int insertSelective(MaterielPO record);

    List<MaterielVO> selectList();

    List<String> selectNameList();

    MaterielVO selectByName(@Param("materielName") String materielName);

}